#ifndef PWM_H
#define PWM_H

#include <QObject>

class pwm : public QObject
{
    Q_OBJECT
private:
    char pwm_path[100]{};

private:
    int pwm_config(const char *attr, const char *val);

public:
    explicit pwm(QObject *parent = nullptr,qint8 pwm_sec = 0,qint8 duty = 50,qint64 period = 20000000);
    virtual ~pwm();

signals:

};

#endif // PWM_H
